import * as config from 'config';

module.exports  = {
  global: {
    '/': {
      lang: 'zh-Hans-CN',
      title: config.default.site_name,
      description: config.default.description
    },

    '/ja/': {
      lang: 'ja-JP',
      title: config.default.site_name_ja,
      description: config.default.description_ja
    },
  },
  theme: {
      '/': {
        home: '/',
        selectLanguageName: '简体中文',
        selectLanguageText: '选择语言',
        selectLanguageAriaLabel: '选择语言',
        tip: '提示',
        warning: '警告',
        danger: '危险',
        notFound: ['找不到您要查找的页面。', '404 未找到该页面'],
        backToHome: '回到首页',
        openInNewWindow: '在新窗口中打开',
        lastUpdatedText: '最后更新时间',
        contributorsText: '参与贡献',
        editLinkText: '编辑该页',
        navbar: [
          {
            text: '反馈',
            link: 'https://support.qq.com/products/321980',
          },
          {
            text: '了解更多',
            children: [
              {
                text: '更新内容',
                children:
                [
                  {
                    text: 'Web网页端',
                    link: 'https://support.qq.com/products/321980/blog/505810',
                  },
                  {
                    text: 'Unity客户端',
                    link: 'https://support.qq.com/products/321980/blog/505884'
                  },
                ],
              },
              {
                text: '法律相关',
                children:
                [
                  {
                    text: '免责声明',
                    link: './disclaimer.md'
                  },
                ],
              },
              {
                text: '其他',
                children:
                [
                  {
                    text: '加入讨论组',
                    link: './communication-group.md'
                  },
                  {
                    text: '下载客户端',
                    link: './download-client.md'
                  },
                  {
                    text: '加入我们',
                    link: './join.md'
                  },
                  {
                    text: '贡献指南',
                    link: './contributing.md'
                  }
                ]
              },
              {
                text: '鸣谢',
                children:
                [
                  {
                    text: '贡献鸣谢',
                    link: './contribution.md'
                  },
                  {
                    text: '赞助鸣谢',
                    link: './sponsor-list.md'
                  },
                  {
                    text: '技术鸣谢',
                    link: './credits.md'
                  },
                ]
              }
            ],
          },
        ],
      },
      '/en/': {
        home: '/en/',
        selectLanguageName: 'English',
        selectLanguageText: 'Language',
        selectLanguageAriaLabel: 'Language',
        lastUpdatedText: 'Last Updated',
        contributorsText: 'Contributors',
        tip: 'Tips',
        notFound: ['The page you’re looking for can’t be found.', '404 Not Found'],
        backToHome: 'Back to home',
        openInNewWindow: 'open in new window',
        warning: 'Warning',
        danger: 'Danger',
        editLinkText: 'Edit Page',
        navbar: [
          {
            text: 'Feedback',
            link: 'https://support.qq.com/products/321980',
          },
          {
            text: 'Understand More',
            children: [
              {
                text: 'Update Content',
                children:
                [
                  {
                    text: 'WebPage',
                    link: 'https://support.qq.com/products/321980/blog/505810',
                  },
                  {
                    text: 'UnityClient',
                    link: 'https://support.qq.com/products/321980/blog/505884'
                  },
                ],
              },
              {
                text: 'Law Related',
                children:
                [
                  {
                    text: 'Disclaimer',
                    link: './disclaimer.md'
                  },
                ],
              },
              {
                text: 'Other',
                children:
                [
                  {
                    text: 'Download client',
                    link: './download-client.md'
                  },
                  {
                    text: 'Join us',
                    link: '/join.html'
                  },
                  {
                    text: 'Contributing Guide',
                    link: './contributing.md'
                  }
                ]
              },
              {
                text: 'Thanks',
                children:
                [
                  {
                    text: 'Contribution',
                    link: './contribution.md'
                  },
                  {
                    text: 'Sponsor',
                    link: './sponsor-list.md'
                  },
                  {
                    text: 'Technical',
                    link: './credits.md'
                  },
                ]
              }
            ],
          },
        ],
      },
      '/ja/': {
        home: '/ja/',
        selectLanguageName: '日本語',
        selectLanguageText: '言語を選択',
        selectLanguageAriaLabel: '言語を選択',
        tip: 'ヒント',
        warning: '警告',
        danger: '危険',
        notFound: ['お探しのページが見つかりません。', '404 ページが見つかりません'],
        backToHome: 'ホームページに戻る',
        openInNewWindow: '新しいウィンドウで開きます',
        lastUpdatedText: '最終更新',
        contributorsText: '貢献者',
        editLinkText: 'このページを編集',
        navbar: [
          {
            text: 'フィードバック',
            link: 'https://support.qq.com/products/321980',
          },
          {
            text: 'もっと理解する',
            children: [
              {
                text: 'コンテンツを更新する',
                children:
                [
                  {
                    text: 'Webウェブページ',
                    link: 'https://support.qq.com/products/321980/blog/505810',
                  },
                  {
                    text: 'Unityクライアント',
                    link: 'https://support.qq.com/products/321980/blog/505884'
                  },
                ],
              },
              {
                text: '法律関係',
                children:
                [
                  {
                    text: '免責事項',
                    link: './disclaimer.md'
                  },
                ],
              },
              {
                text: 'その他',
                children:
                [
                  {
                    text: 'マップ クライアントをダウンロードする',
                    link: './download-client.md'
                  },
                  {
                    text: 'リクルート',
                    link: '/join.html'
                  },
                  {
                    text: '投稿ガイド',
                    link: './contributing.md'
                  }
                ]
              },
              {
                text: 'ありがとう',
                children:
                [
                  {
                    text: '貢献',
                    link: './contribution.md'
                  },
                  {
                    text: 'スポンサー',
                    link: './sponsor-list.md'
                  },
                  {
                    text: 'テクニカル',
                    link: './credits.md'
                  },
                ]
              }
            ],
          },
        ],
      },
  }
}
